home *** CD-ROM | disk | FTP | other *** search
/ Pokemon Promotional Discs / ANA_POKEMON_01.ISO / 1 / scripts / DefineSprite_148 / frame_198 / PlaceObject2_147_41 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Text File  |  2004-01-04  |  300b  |  11 lines

  1. onClipEvent(load){
  2.    randomNum = Math.random() * 9;
  3.    rndmNum = Math.floor(randomNum);
  4.    testChr = _parent.LVarray.LV1[rndmNum];
  5.    trace("testChr -->" + testChr);
  6.    randomX = Math.random() * 250;
  7.    rndmX = Math.floor(randomX);
  8.    this._x = rndmX + 20;
  9.    this.gotoAndStop(testChr);
  10. }
  11.